package com.huike.contract.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.huike.common.annotation.Excel;
import com.huike.common.annotation.Excel.ColumnType;
import com.huike.common.annotation.Excel.Type;
import com.huike.common.annotation.Excels;
import com.huike.common.core.domain.BaseEntity;
import com.huike.common.core.domain.entity.SysDept;
import com.huike.common.core.domain.entity.SysRole;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Arrays;
import java.util.Date;
import java.util.List;

/**
 * 用户对象 sys_user
 * 
 * 
 */
public class TransVo extends BaseEntity
{
    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public TransVo(Integer clueNum, Integer businessNum, Long userId, String userName, String phonenumber, String beginTime, String endTime, Date createTime) {
        this.clueNum = clueNum;
        this.businessNum = businessNum;
        this.userId = userId;
        this.userName = userName;
        this.phonenumber = phonenumber;
        this.beginTime = beginTime;
        this.endTime = endTime;
        this.createTime = createTime;
    }

    private Integer clueNum;

    private Integer businessNum;

    private Long userId;

    private String userName;

    private String phonenumber;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String beginTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;


    private Date createTime;

    public TransVo() {
    }

    public TransVo(Integer clueNum, Integer businessNum, Long userId, String userName, String phonenumber, Date createTime) {
        this.clueNum = clueNum;
        this.businessNum = businessNum;
        this.userId = userId;
        this.userName = userName;
        this.phonenumber = phonenumber;
        this.createTime = createTime;
    }

    public Integer getClueNum() {
        return clueNum;
    }

    public void setClueNum(Integer clueNum) {
        this.clueNum = clueNum;
    }

    public Integer getBusinessNum() {
        return businessNum;
    }

    public void setBusinessNum(Integer businessNum) {
        this.businessNum = businessNum;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "TransVo{" +
                "clueNum=" + clueNum +
                ", businessNum=" + businessNum +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", phonenumber='" + phonenumber + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
